package com.ylp.sys.auth.entity;

import io.swagger.v3.oas.annotations.media.Schema;

public class UserInfo {
    @Schema(description = "用户ID")
    private Long id;
    @Schema(description = "用户账号")
    private String username;

    public UserInfo() {
    }
    public UserInfo(Long id, String username) {
        this.id = id;
        this.username = username;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
}
